package com.jiahua.comm.config;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.apache.log4j.Logger;

public class StartUpListener implements ServletContextListener {

	Logger log = Logger.getLogger(StartUpListener.class.getClass());

	public void contextDestroyed(ServletContextEvent context) 
	{
	}

	public void contextInitialized(ServletContextEvent context) 
	{
		log.debug(">>>> contextPath = " + context.getServletContext().getRealPath(""));
		System.out.println(">>>> contextPath = " + context.getServletContext().getRealPath(""));
	}
}
